{"ast":null,"code":"import { genComponentStyleHook, mergeToken } from '../../theme/internal';\nimport { resetComponent } from '../../style';\nconst genStatisticStyle = token => {\n  const {\n    componentCls,\n    marginXXS,\n    padding,\n    colorTextDescription,\n    statisticTitleFontSize,\n    colorTextHeading,\n    statisticContentFontSize,\n    statisticFontFamily\n  } = token;\n  return {\n    [`${componentCls}`]: Object.assign(Object.assign({}, resetComponent(token)), {\n      [`${componentCls}-title`]: {\n        marginBottom: marginXXS,\n        color: colorTextDescription,\n        fontSize: statisticTitleFontSize\n      },\n      [`${componentCls}-skeleton`]: {\n        paddingTop: padding\n      },\n      [`${componentCls}-content`]: {\n        color: colorTextHeading,\n        fontSize: statisticContentFontSize,\n        fontFamily: statisticFontFamily,\n        [`${componentCls}-content-value`]: {\n          display: 'inline-block',\n          direction: 'ltr'\n        },\n        [`${componentCls}-content-prefix, ${componentCls}-content-suffix`]: {\n          display: 'inline-block'\n        },\n        [`${componentCls}-content-prefix`]: {\n          marginInlineEnd: marginXXS\n        },\n        [`${componentCls}-content-suffix`]: {\n          marginInlineStart: marginXXS\n        }\n      }\n    })\n  };\n};\n// ============================== Export ==============================\nexport default genComponentStyleHook('Statistic', token => {\n  const {\n    fontSizeHeading3,\n    fontSize,\n    fontFamily\n  } = token;\n  const statisticToken = mergeToken(token, {\n    statisticTitleFontSize: fontSize,\n    statisticContentFontSize: fontSizeHeading3,\n    statisticFontFamily: fontFamily\n  });\n  return [genStatisticStyle(statisticToken)];\n});","map":{"version":3,"names":["genComponentStyleHook","mergeToken","resetComponent","genStatisticStyle","token","componentCls","marginXXS","padding","colorTextDescription","statisticTitleFontSize","colorTextHeading","statisticContentFontSize","statisticFontFamily","Object","assign","marginBottom","color","fontSize","paddingTop","fontFamily","display","direction","marginInlineEnd","marginInlineStart","fontSizeHeading3","statisticToken"],"sources":["/data/messenger.client/node_modules/antd/es/statistic/style/index.js"],"sourcesContent":["import { genComponentStyleHook, mergeToken } from '../../theme/internal';\nimport { resetComponent } from '../../style';\nconst genStatisticStyle = token => {\n  const {\n    componentCls,\n    marginXXS,\n    padding,\n    colorTextDescription,\n    statisticTitleFontSize,\n    colorTextHeading,\n    statisticContentFontSize,\n    statisticFontFamily\n  } = token;\n  return {\n    [`${componentCls}`]: Object.assign(Object.assign({}, resetComponent(token)), {\n      [`${componentCls}-title`]: {\n        marginBottom: marginXXS,\n        color: colorTextDescription,\n        fontSize: statisticTitleFontSize\n      },\n      [`${componentCls}-skeleton`]: {\n        paddingTop: padding\n      },\n      [`${componentCls}-content`]: {\n        color: colorTextHeading,\n        fontSize: statisticContentFontSize,\n        fontFamily: statisticFontFamily,\n        [`${componentCls}-content-value`]: {\n          display: 'inline-block',\n          direction: 'ltr'\n        },\n        [`${componentCls}-content-prefix, ${componentCls}-content-suffix`]: {\n          display: 'inline-block'\n        },\n        [`${componentCls}-content-prefix`]: {\n          marginInlineEnd: marginXXS\n        },\n        [`${componentCls}-content-suffix`]: {\n          marginInlineStart: marginXXS\n        }\n      }\n    })\n  };\n};\n// ============================== Export ==============================\nexport default genComponentStyleHook('Statistic', token => {\n  const {\n    fontSizeHeading3,\n    fontSize,\n    fontFamily\n  } = token;\n  const statisticToken = mergeToken(token, {\n    statisticTitleFontSize: fontSize,\n    statisticContentFontSize: fontSizeHeading3,\n    statisticFontFamily: fontFamily\n  });\n  return [genStatisticStyle(statisticToken)];\n});"],"mappings":"AAAA,SAASA,qBAAqB,EAAEC,UAAU,QAAQ,sBAAsB;AACxE,SAASC,cAAc,QAAQ,aAAa;AAC5C,MAAMC,iBAAiB,GAAGC,KAAK,IAAI;EACjC,MAAM;IACJC,YAAY;IACZC,SAAS;IACTC,OAAO;IACPC,oBAAoB;IACpBC,sBAAsB;IACtBC,gBAAgB;IAChBC,wBAAwB;IACxBC;EACF,CAAC,GAAGR,KAAK;EACT,OAAO;IACL,CAAE,GAAEC,YAAa,EAAC,GAAGQ,MAAM,CAACC,MAAM,CAACD,MAAM,CAACC,MAAM,CAAC,CAAC,CAAC,EAAEZ,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